package com.infoauto.opc.gateway.dao;

import com.infoauto.opc.gateway.model.gtm4.CheckTheNumberOfUnits2;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 检查通过台数2
 */
public interface CheckTheNumberOfUnits2Dao {
    int insert(CheckTheNumberOfUnits2 checkTheNumberOfUnits2);

    int update(CheckTheNumberOfUnits2 checkTheNumberOfUnits2);

    List<CheckTheNumberOfUnits2> selectByProducTionTimeAndShift(@Param("productionTime")String productionTime, @Param("shift") Integer shift);

    CheckTheNumberOfUnits2 select(@Param("productionTime")String productionTime, @Param("shift")Integer shift, @Param("sn")Integer sn);

    CheckTheNumberOfUnits2 selectById(@Param("id") String id);
}
